﻿using System;
using System.Collections.Generic;
using UnityEngine;

public class SM_EditorConstValue
{
    private const float bg_GUI_ExtraLenth = 2000f;

    public static float Bg_GUI_ExtraLenth
    {
        get
        {
            return bg_GUI_ExtraLenth;
        }
    }
    private const float bG_Line_Size0 = 10f;
    public static float BG_Line_Size0
    {
        get
        {
            return bG_Line_Size0 * ratioGUI;
        }
    }
    private const float bG_Line_Size1 = 100f;
    public static float BG_Line_Size1
    {
        get
        {
            return bG_Line_Size1 * ratioGUI;
        }
    }

    private static Vector2 state_GUI_Size = new Vector2(160f, 35f);
    public static Vector2 State_GUI_Size
    {
        get
        {
            return state_GUI_Size * ratioGUI ;
        }

        set
        {
            state_GUI_Size = value;
        }
    }
    private static int fontSize = 0;
    public static int FontSize
    {
        get
        {
            
            return fontSize+ (int)(ratioGUI *10);
        }
    }

    public static float RatioGUI
    {
        get
        {
            return ratioGUI;
        }

        set
        {
           ratioGUI= Mathf.Clamp(value, 0.4f, 3f);
        }
    }



    private static float ratioGUI = 1;
}

